home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / repair / lost_found.h < prev    next >
C/C++ Source or Header  |  2006-01-09  |  762b  |  31 lines

  1. /* Copyright 2001, 2002, 2003, 2004 by Hans Reiser, licensing governed by
  2.    reiser4progs/COPYING.
  3.    
  4.    repair/filter.h -- the structures and methods needed for lost&found
  5.    pass of fsck. */
  6.  
  7. #ifndef REPAIR_LOST_FOUND_H
  8. #define REPAIR_LOST_FOUNS_H
  9.  
  10. #include <time.h>
  11. #include <repair/librepair.h>
  12.  
  13. /* Statistics gathered during the pass. */
  14. typedef struct repair_lost_found_stat {
  15.     time_t time;
  16. } repair_lost_found_stat_t;
  17.  
  18. /* Data filter works on. */
  19. typedef struct repair_lost_found {
  20.     repair_data_t *repair;
  21.         aal_list_t *path;
  22.     
  23.     repair_progress_handler_t *progress_handler;
  24.     repair_progress_t *progress;
  25.     reiser4_object_t *lost;
  26.     repair_lost_found_stat_t stat;
  27. } repair_lost_found_t;
  28.  
  29. extern errno_t repair_lost_found(repair_lost_found_t *lf);
  30. #endif
  31.